package com.iflytek.cosmo.ocr.model.dto;

import java.util.List;

/**
 * UserAuthOutput
 * @author admin
 */
public class UserAuthOutput {

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 用户登录名
     */
    private String userName;

    /**
     * 用户姓名
     */
    private String name;

    /**
     * 功能菜单列表
     */
    private List<AuthOutput> menus;

    /**
     * 构造函数
     * @param userId 用户ID
     * @param userName 用户登录名
     * @param menus 功能菜单列表
     */
    public UserAuthOutput(String userId, String userName, String name, List<AuthOutput> menus) {
        this.userId = userId;
        this.userName = userName;
        this.name = name;
        this.menus = menus;
    }

    /**
     * @return the userId
     */
    public String getUserId() {
        return userId;
    }

    /**
     * @param userId the userId to set
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * @return the userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName the userName to set
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the menus
     */
    public List<AuthOutput> getMenus() {
        return menus;
    }

    /**
     * @param menus the menus to set
     */
    public void setMenus(List<AuthOutput> menus) {
        this.menus = menus;
    }
}
